/**
 * @author: zhiqiang
 * @version: 1.0
 * @date: 2022/3/17
 * @description:
 */
package com.lzq.strategy.improved;

public class PriceContext {
    private PriceStrategy priceStrategy;

    public PriceContext(PriceStrategy priceStrategy) {

        this.priceStrategy = priceStrategy;
    }

    public void pay(double count) {
        priceStrategy.pay(count);
    }
}
